package com.hdw.job.bean.model;

import java.io.Serializable;
import java.util.Date;

public class EtlHandlerExec implements Serializable {

	private static final long serialVersionUID = 1L;

	private Long idHandlerExec;

	private Long idGroup;

	private Long idJob;

	private Date dtBegin;

	private String status;

	private String des;

	private Date dtEnd;

	/**
     * 耗时
     */
private Long times;

	private String euTp;

	public Long getIdHandlerExec() {
	    return idHandlerExec;
	}

	public void setIdHandlerExec(Long idHandlerExec) {
	    this.idHandlerExec = idHandlerExec;
	}

	public Long getIdGroup() {
	    return idGroup;
	}

	public void setIdGroup(Long idGroup) {
	    this.idGroup = idGroup;
	}

	public Long getIdJob() {
	    return idJob;
	}

	public void setIdJob(Long idJob) {
	    this.idJob = idJob;
	}

	public Date getDtBegin() {
	    return dtBegin;
	}

	public void setDtBegin(Date dtBegin) {
	    this.dtBegin = dtBegin;
	}

	public String getStatus() {
	    return status;
	}

	public void setStatus(String status) {
	    this.status = status == null ? null : status.trim();
	}

	public String getDes() {
	    return des;
	}

	public void setDes(String des) {
	    this.des = des == null ? null : des.trim();
	}

	public Date getDtEnd() {
	    return dtEnd;
	}

	public void setDtEnd(Date dtEnd) {
	    this.dtEnd = dtEnd;
	}

	public Long getTimes() {
	    return times;
	}

	public void setTimes(Long times) {
	    this.times = times;
	}

	public String getEuTp() {
	    return euTp;
	}

	public void setEuTp(String euTp) {
	    this.euTp = euTp == null ? null : euTp.trim();
	}

	@Override
	public boolean equals(Object that) {
	    if (this == that) {
	        return true;
	    }
	    if (that == null) {
	        return false;
	    }
	    if (getClass() != that.getClass()) {
	        return false;
	    }
	    EtlHandlerExec other = (EtlHandlerExec) that;
	    return (this.getIdHandlerExec() == null ? other.getIdHandlerExec() == null : this.getIdHandlerExec().equals(other.getIdHandlerExec())) && (this.getIdGroup() == null ? other.getIdGroup() == null : this.getIdGroup().equals(other.getIdGroup())) && (this.getIdJob() == null ? other.getIdJob() == null : this.getIdJob().equals(other.getIdJob())) && (this.getDtBegin() == null ? other.getDtBegin() == null : this.getDtBegin().equals(other.getDtBegin())) && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus())) && (this.getDes() == null ? other.getDes() == null : this.getDes().equals(other.getDes())) && (this.getDtEnd() == null ? other.getDtEnd() == null : this.getDtEnd().equals(other.getDtEnd())) && (this.getTimes() == null ? other.getTimes() == null : this.getTimes().equals(other.getTimes())) && (this.getEuTp() == null ? other.getEuTp() == null : this.getEuTp().equals(other.getEuTp()));
	}

	@Override
	public int hashCode() {
	    final int prime = 31;
	    int result = 1;
	    result = prime * result + ((getIdHandlerExec() == null) ? 0 : getIdHandlerExec().hashCode());
	    result = prime * result + ((getIdGroup() == null) ? 0 : getIdGroup().hashCode());
	    result = prime * result + ((getIdJob() == null) ? 0 : getIdJob().hashCode());
	    result = prime * result + ((getDtBegin() == null) ? 0 : getDtBegin().hashCode());
	    result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
	    result = prime * result + ((getDes() == null) ? 0 : getDes().hashCode());
	    result = prime * result + ((getDtEnd() == null) ? 0 : getDtEnd().hashCode());
	    result = prime * result + ((getTimes() == null) ? 0 : getTimes().hashCode());
	    result = prime * result + ((getEuTp() == null) ? 0 : getEuTp().hashCode());
	    return result;
	}

	@Override
	public String toString() {
	    StringBuilder sb = new StringBuilder();
	    sb.append(getClass().getSimpleName());
	    sb.append(" [");
	    sb.append("Hash = ").append(hashCode());
	    sb.append(", serialVersionUID=").append(serialVersionUID);
	    sb.append(", idHandlerExec=").append(idHandlerExec);
	    sb.append(", idGroup=").append(idGroup);
	    sb.append(", idJob=").append(idJob);
	    sb.append(", dtBegin=").append(dtBegin);
	    sb.append(", status=").append(status);
	    sb.append(", des=").append(des);
	    sb.append(", dtEnd=").append(dtEnd);
	    sb.append(", times=").append(times);
	    sb.append(", euTp=").append(euTp);
	    sb.append("]");
	    return sb.toString();
	}


}